// 引入工具栏组件
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import UploadImg from '@/components/UploadImg'
import Imagehead from '@/components/Imagehead'
// 插件的作用：批量全局注册组件
// 对象必须提供一个 install 函数
// 该函数会在 vue.use 时自动执行
export default {
  install(Vue) {
    Vue.component(PageTools.name, PageTools)
    Vue.component(UploadExcel.name, UploadExcel)
    Vue.component(UploadImg.name, UploadImg)
    Vue.component(Imagehead.name, Imagehead)
  }
}
